package com.zero.system.mapper;

import com.zero.system.entity.Flight;

import java.util.Date;
import java.util.List;
import java.util.Map;


public interface FlightMapper {
    List<Flight> queryList(Map<String, Object> paramMap);

    Integer getCount(Map<String, Object> paramMap);

    int add(Flight flight);

    Flight findById(Integer id);

    int delete(List<Integer> ids);

    int update(Flight flight);

    Flight findByFlightNo(String flightNo);

    List<Flight> findAll();

    List<Flight> findByCondition(String startPlace, String endPlace, Date startDate,Date day1);

}
